package com.iter.devbox.jaxb;

import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;

public class Client {

	public static void main(String[] args) throws Throwable {
		JAXBContext jc = JAXBContext.newInstance(User.class);
		Marshaller u = jc.createMarshaller();
		
		User user = new User();
		u.marshal(user, System.out);//编排
	}
}
